<!DOCTYPE html>
<html>
    <head>
      <meta charset="utf-8">  
      <title>{% block title %}{%endblock%}</title>
      <link rel="stylesheet" type="text/css" href="/media/ejeje.css">
{%block head%}{%endblock%}

    </head>

    <body>
    <div id="wrap">
      <div id="content" class="ui-widget">
  {%block body%}{%endblock%}
      </div>
    </div>


{% if debug %}
<div id="debug" >
<ul>
{% for q in sql_queries %}
  <li>{{q.time}}: <b>{{q.sql}}</b></li>
{%endfor %}
</ul></div>
{% endif %}

    </body>

</html>
